package com.jilijili.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.jilijili.pojo.Fans;
import com.jilijili.pojo.vo.FansVo;
import com.jilijili.pojo.vo.VlogerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author admin
 * @description 针对表【fans(粉丝表
 * <p>
 * )】的数据库操作Mapper
 * @createDate 2022-03-12 07:11:29
 * @Entity com.jilijili.pojo.Fans
 */
@Mapper
@Repository
public interface FansMapperCustom extends BaseMapper<Fans>, MPJBaseMapper<Fans> {

    /**
     * 查询我的粉丝列表
     */
    public List<FansVo> queryMyFans(@Param("paramMap") Map<String, Object> map);

    /**
     * 查询我的关注列表
     */
    public List<VlogerVo> queryMyFollows(@Param("paramMap") Map<String, Object> map);
}




